package com.zero.mxshengadmin.modules.website.service;

import com.baomidou.mybatisplus.service.IService;
import com.zero.mxshengadmin.common.utils.PageUtils;
import com.zero.mxshengadmin.modules.website.entity.WebsiteQuestionEntity;

import java.util.Map;

/**
 * Created by aicaikeji on 2019/4/3.
 */
public interface WebsiteQuestionService extends IService<WebsiteQuestionEntity> {
    /**
     * 添加问题
     * @param entity
     * @return
     */
    void save(WebsiteQuestionEntity entity);


    /**
     * 查询问题
     * @param id
     * @return
     */
    WebsiteQuestionEntity getById(long id);



    /**
     * 删除问题信息
     * @param ids
     * @return
     */
    void removeByIds(Long[] ids);


    /**
     * 查询问题列表
     * @param params
     * @return
     */
    PageUtils queryPage(Map<String, Object> params);

}
